package com.hhu.softpractise.service;

import com.hhu.softpractise.model.dto.postcomment.PostCommentAddRequest;
import com.hhu.softpractise.model.dto.postcomment.PostCommentQueryRequest;
import com.hhu.softpractise.model.entiy.PostComment;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
* @author 35534
* @description 针对表【post_comment(帖子评论)】的数据库操作Service
* @createDate 2025-06-23 14:16:35
*/
public interface PostCommentService extends IService<PostComment> {

    /**
     * 创建帖子评论
     * @param postCommentAddRequest
     * @param request
     * @return
     */
    Long addPostComment(PostCommentAddRequest postCommentAddRequest, HttpServletRequest request);

    List<PostComment> getlist(PostCommentQueryRequest postCommentQueryRequest);
}
